<?
//设置需要搜索的表格的前缀后缀
$table='feedback';

?>


<?

$trans_nid = $_REQUEST ['nid']; 
 
$result = mysql_query("SELECT * FROM $table where nid = '$trans_nid'");

while($row = mysql_fetch_array($result))
  {


    $nid = $row['nid'];

    $q1  = $row['q1'];
    $q2  = $row['q2'];
    $q3  = $row['q3'];
    $q4  = $row['q4'];
    $q5  = $row['q5'];
    $q6  = $row['q6'];
    $q7  = $row['q7'];
    $q8  = $row['q8'];
    $q9  = $row['q9'];
    $q10 = $row['q10'];


    $remark     = $row['remark'];
    $best_meal  = $row['best_meal'];
    $worst_meal = $row['worst_meal'];
    $datetime   = $row['datetime'];
    $user_id    = $row['user_id'];
    $mealat     = $row['mealat'];
    $user_name  = $row['user_name'];

  }
  



  
  
  

mysql_close($con);
?>


